package com.gitee.faster.redis.storage;

/**
 * @author hongda.li
 */
public interface RedisDataStorage {

    <Data> Data query(String name);

    <Data> void store(String name, Data data);

    <Data> Data remove(String name);

    static RedisDataStorage getInstance() {
        return CombinedRedisDataStorage.getInstance();
    }
}
